let searchArr = [
  // 搜索框
  {
    name: '用户名称',
    value: 'nameLike',
    type: 'input',
  },
  {
    name: '工号',
    value: 'jobNumLike',
    type: 'input',
  },
  {
    name: '电话',
    value: 'phoneLike',
    type: 'input',
  },
  {
    name: '岗位',
    value: 'postNameLike',
    type: 'input',
  },
]
let columns = [
  {
    title: '用户名称',
    dataIndex: 'name',
    key:'name'
  },
  {
    title: '员工编号',
    dataIndex: 'jobNum',
    key:'jobNum'
  },
  {
    title: '电话号码',
    dataIndex: 'phoneNum',
    key:'phoneNum'
  },
  {
    title: '当前所在岗位',
    dataIndex: 'postPNames',
    key:'postPNames',
    scopedSlots: {customRender: 'postPNames'}
  },
  {
    title: '操作',
    dataIndex: 'operation',
    width:'220px',
    fixed: 'right',
    scopedSlots: {customRender: 'operation'}
  }
]

let accountTypeList=[
  {id:'0', name:'永久账号'},
  {id:'1', name:'临时账号'}
]
let genderList=[
  {id:'0', name:'女'},
  {id:'1', name:'男'}
]
let jobStatusList=[
  {id:0, name:'离职'},
  {id:1, name:'在职'},
  {id:2, name:'见习'}
]
let provinceList=[]

let maritalStatusList=[
  {id:0, name:'未婚'},
  {id:1, name:'已婚'},
  {id:2, name:'离异'},
  {id:3, name:'再婚'},
  {id:4, name:'丧偶'}
]

let educationList=[
  {id:0, name:'小学'},
  {id:1, name:'初中'},
  {id:2, name:'高中'},
  {id:3, name:'大专'},
  {id:4, name:'大学本科'},
  {id:5, name:'研究生'},
  {id:6, name:'博士研究生'}
]


export {searchArr, columns, accountTypeList, genderList, provinceList, maritalStatusList, educationList, jobStatusList}